home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1m / ha_ifdadmin.z / ha_ifdadmin
Encoding:
Text File  |  2002-10-03  |  4.0 KB  |  133 lines

  1.  
  2.  
  3.  
  4. hhhhaaaa____iiiiffffddddaaaaddddmmmmiiiinnnn((((1111mmmm))))                                                hhhhaaaa____iiiiffffddddaaaaddddmmmmiiiinnnn((((1111mmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ha_ifdadmin - network interface administration command
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      hhhhaaaa____iiiiffffddddaaaaddddmmmmiiiinnnn { -i | -s | -g } input_file output_file
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _h_a__i_f_d_a_d_m_i_n command provides information about IP addresses from the
  16.      _h_a__i_f_d daemon.
  17.  
  18.      The list of IP addresses (in XXX.XXX.XXX.XXX notation) are specified in
  19.      the _i_n_p_u_t__f_i_l_e. The output information for each IP address is returned by
  20.      the command _h_a__i_f_d_a_d_m_i_n in the _o_u_t_p_u_t__f_i_l_e.
  21.  
  22.      The input file should have each IP address listed in a separate line. The
  23.      information about each IP address in the output is listed in separate
  24.      lines. The IP address information format in the output file depends on
  25.      the request.
  26.  
  27.      The _o_u_t_p_u_t__f_i_l_e should be created by the user before using the command.
  28.  
  29. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  30.      _h_a__i_f_d_a_d_m_i_n takes following options:
  31.  
  32.      ----iiii          Gets information about the IP address listed in the
  33.                  _i_n_p_u_t__f_i_l_e. The format of the output file is:
  34.  
  35.           <IP address> <Network interface name> <Netmask> <Broadcast address>
  36.  
  37.  
  38.      The fields are separated by white spaces. If the IP address is not
  39.      configured in the machine, the second field in the output file is set to
  40.      string _e_r_r_o_r.
  41.  
  42.      ----ssss          Get the status of the IP address specified in the _i_n_p_u_t__f_i_l_e.
  43.                  A non-zero status indicates that either the IP address is not
  44.                  configured on the machine or the network interface on which
  45.                  the IP address is configured is bad. Zero status indicates
  46.                  that IP address is configured in the machine. The format of
  47.                  the output file is:
  48.  
  49.           <IP address> <status>
  50.  
  51.  
  52.      The fields are separated by white spaces. If the IP address status is
  53.      good, the status field is set to zero.
  54.  
  55.      ----gggg          Get a network interface to configure the IP address. The
  56.                  interface is determined using the list of network interfaces
  57.                  specified in the CDB for the IP address and status of the
  58.                  network interface. All network interfaces that have been
  59.                  declared as sick or down by hhhhaaaa____iiiiffffdddd daemon are not considered.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. hhhhaaaa____iiiiffffddddaaaaddddmmmmiiiinnnn((((1111mmmm))))                                                hhhhaaaa____iiiiffffddddaaaaddddmmmmiiiinnnn((((1111mmmm))))
  71.  
  72.  
  73.  
  74.                  The format of the output file is:
  75.  
  76.           <IP address> <Network interface name> <Netmask> <Broadcast address>
  77.  
  78.  
  79.      If there are no network interfaces available for the IP address, the
  80.      second field in the output field is set to string "error".
  81.  
  82. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
  83.      _h_a__i_f_d_a_d_m_i_n command returns 1 on error and 0 on success.
  84.  
  85. FFFFIIIILLLLEEEESSSS
  86.      /var/cluster/ha/comm/ifd_socket
  87.           socket communication file used for communication with ha_ifd daemon.
  88.  
  89. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  90.      ha_ifd(1M).
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.